package org.lqk.pool.netty;

import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.SimpleChannelInboundHandler;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

/**
 * Created by bert on 16-4-27.
 */
@Component
public class NettyCommandClientHandler extends SimpleChannelInboundHandler<Object> {


    private static Logger log = LoggerFactory.getLogger(NettyCommandClientHandler.class);

    @Override
    protected void channelRead0(ChannelHandlerContext ctx, Object msg) throws Exception {
        log.debug("opaque {},cmdCode {},rpctype {},isFlag {}");

    }
}
